﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="续住.aspx.cs" Inherits="续住" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="right" Runat="Server">
     <table style="WIDTH: 703px; HEIGHT: 51px" cellSpacing="0" borderColorDark="#cccccc" cellPadding="5" align="center" borderColorLight="#000000" border="1">
				    
    				<tr bgColor="#cccccc">
					<td vAlign="center" align="middle" bgcolor="Maroon"   colSpan="2"><FONT size="6"><STRONG><FONT face="楷体_GB2312" color="yellow"  > 酒店客房管理</FONT> <FONT size="4"  color="yellow">--客户续住</FONT></STRONG></FONT>
					</td>
				</tr> </table>
     <br />
    <br />
    <div ><center>
                        <strong>请输入客户房间号：</strong><asp:TextBox ID="tbSeart" runat="server" Width="160px" Height="20px"></asp:TextBox>
                        &nbsp;
                        <asp:Button ID="btnSeart" runat="server" Text="搜索" Width="70px" Height="25px" OnClick="btnSeart_Click"   />
                        <br />
              </center>
        </div>
     <br />
     <br />
    <div>
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
        OnRowCancelingEdit="GridView2_RowCancelingEdit" 
        OnRowDataBound="GridView2_RowDataBound" 
        OnRowEditing="GridView2_RowEditing" 
        OnRowUpdating="GridView2_RowUpdating" 
        OnSorting="GridView2_Sorting" DataKeyNames="U_number">
        <Columns>
             <asp:BoundField DataField="U_number" HeaderText="客户证件号" />
            <asp:BoundField DataField="U_name" HeaderText="客户姓名" />       
            <asp:BoundField DataField="U_phone" HeaderText="电话号码" />
            <asp:BoundField DataField="U_rdate" HeaderText="入住日期" />
            <asp:BoundField DataField="U_tdate" HeaderText="退房日期" />
            <asp:BoundField DataField="U_prnum" HeaderText="人数" />
            <asp:BoundField DataField="G_number" HeaderText="房间号" />
            <asp:BoundField DataField="G_type" HeaderText="类型" />
            <asp:BoundField DataField="G_free" HeaderText="是否空闲" />
            <asp:CommandField ShowEditButton="True" />
        </Columns>
    </asp:GridView>
        </div>
                        <br />
</asp:Content>

